package com.haizhi.crm.biz.model;

import com.haizhi.crm.common.model.BaseDo;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by yangyijun on 2018/4/26.
 */
@Data
@Entity
@Table(name = "tb_user_share" )
public class UserShareDo extends BaseDo {

    @Column(name = "share_type" )
    private String shareType;

    @Column(name = "from_user_id" )
    private Long fromUserId;

    @Column(name = "to_user_id" )
    private Long toUserId;

    @Column(name = "entity_type" )
    private String entityType;

    @Column(name = "entity_key" )
    private String entityKey;

    @Column(name = "share_msg" )
    private String shareMsg;

    @Column(name = "batch_no" )
    private String batchNo;
}
